package com.mengxuegu.springboot;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * https://blog.csdn.net/zzti_erlie/article/details/115578562
 */
@EnableTransactionManagement
@MapperScan("com.mengxuegu.springboot.mybatisplus.mapper")
@SpringBootApplication
public class SpringBoot16DataTransactionApplication {

    public static void main(String[] args) {
        SpringApplication.run(SpringBoot16DataTransactionApplication.class, args);
    }

}
